package com.hzy.admin.repository.entity.system;

import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 *
 * </p>
 *
 * @author HZY
 * @since 2020-04-28
 */
public class SysMenu extends AppBaseEntity {

    public SysMenu() {
        this.show = 1;
        this.close = 1;
    }

	private static final long serialVersionUID = 1L;

    private Integer number;

    private String name;

    private String url;

    private String router;

	@TableField("componentName")
    private  String componentName;

    private String icon;

    @TableField("parentId")
    private String parentId;

    /**
     * 1 是 0 否
     */
	@TableField("`show`")
    private Integer show;

    /**
     * 1 是 0 否
     */
	@TableField("`close`")
    private Integer close;


	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRouter() {
		return router;
	}

	public void setRouter(String router) {
		this.router = router;
	}

	public String getComponentName() {
		return componentName;
	}

	public void setComponentName(String componentName) {
		this.componentName = componentName;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getShow() {
		return show;
	}

	public void setShow(Integer show) {
		this.show = show;
	}

	public Integer getClose() {
		return close;
	}

	public void setClose(Integer close) {
		this.close = close;
	}


}
